<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>第一个JSF程序</title>
</head>
<body>
<f:view>
<h:form>

<h:outputText value="#{user.name}" />是猪！
<h:commandButton value="送出" action="welcome"/>
<h3>欢迎使用 Java Server Faces!</h3>

</h:form>
</f:view>
</body>
</html>
